The caps lock warning now has its own css class that works for this
case, too. Remove the custom class parameter and just use the default
one.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952
this._passwordBox.add(this._workSpinner);
this._passwordBox.hide();
- this._capsLockWarningLabel = new ShellEntry.CapsLockWarning({ style_class: 'prompt-dialog-caps-lock-warning' });
- content.add_child(this._capsLockWarningLabel);
+ let capsLockWarning = new ShellEntry.CapsLockWarning();
+ content.add_child(capsLockWarning);
this._errorMessageLabel = new St.Label({ style_class: 'prompt-dialog-error-label' });
this._errorMessageLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;